import http from "./requset";

/**
 * @param {*} params //  参数
 * @param {*} method  //请求方式
 * @return {*} //   companyId: '1' 公司id, monthNumber: "0" 当月的, type: 1,  // type=1 利润表  2  3
 */
async function get_three_table(params, method) {
  console.log(params, method);
  let { data } = await http({
    url: "http://222.92.133.154:5912/sourceFile/condition",
    method: method,
    data: params,
  });
  return data;
}

export { get_three_table };
